<?php
/**
* Created by PhpStorm.
* User: Mexios
* Date: 02/08/14
* Time: 13:40
*/
?>

<link href="modules/manageruser/connexion.css" rel="stylesheet" type="text/css">
<link href="animation.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="modules/manageruser/connexion.js"></script>

<!--Formulaire de connexion-->

<h1>Page de connexion</h1>

<form action="index.php?modules=managerUser&action=backConnexion" id='formConnexion' method="post" ng-controller="ConnexionCtrl">
<!--<form method="post" ng-controller="ConnexionCtrl">-->
    <fieldset>
        <legend>Connectez vous !</legend>
        <table>
            <tr>
                <td><label for="Login">Login:</label></td>
                <td><input type="text"  ng-model="loginCon" id="login" name="login" placeholder="Entrez votre Login"/></td>
                <td><span style="color: red;" id="logError">{{loginRequired}}</span></td>
            </tr>
            <tr>
                <td> <label for="MDP">mot de passe:</label></td>
                <td><input type="password" ng-model="mdpCon" id="mdp" name="mdp" placeholder="Entrez votre mot de passe"/></td>
                <td><span style="color: red;" id="mdpError">{{mdpRequired}}</span></td>
            </tr>
        </table>
        </br>
        <td><span style="color: red;" id="valueError">{{valueRequired}}</span></td><br/>
        <input type="button" ng-click="saveData()" value="Se connecter"/>
        </br>
    </fieldset>

</form>